#ifndef ELEMENTLADDER_H
#define ELEMENTLADDER_H

#include "GameElement.h"
#include "AnimationObj.h"
#include "Drawing.h"

enum ORIENTATION {LD_FRONT=0, LD_RIGHT=1, LD_BACK=2, LD_LEFT=3};


class ElementLadder: virtual public GameElement
{
    ORIENTATION orient;
public:
    ORIENTATION getOrientation(){return orient;}
    void setOrientation(ORIENTATION o){orient=o;}

    ElementLadder(vector3<int> pos);
    void invokeCollisionEvent(Character*);
    void invokeActivateEvent();
    void invokeUpdateEvent(Character *);
    void activate();
    void deactivate();
    void render();
    void editorModeRender(){render();}
    const char* getName(){return "Ladder";}
};

#endif // ELEMENTLADDER_H
